package com.haoran.grope.server;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class RabbitMQServer1 {

	@RabbitListener(queues = "api")
	public void receive(String message) {
		System.out.println("----RabbitMQServer1----receive ------- " + message);
	}
	
}